EFI: add efi_arch_cfg_file_early/late() to handle arch specific cfg file fields
authorRoy Franz <roy.franz@linaro.org>
Thu, 25 Sep 2014 12:28:27 +0000 (14:28 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 25 Sep 2014 12:28:27 +0000 (14:28 +0200)
commitdbbb27f1eb667363324a239f38a9a6ca1c0f74e8
treec764f63a824c8cdc71ffb4317dcd7e4a9b3cdd54
parent236502c1102ac95532683c83ef4defff6c5bda4e
EFI: add efi_arch_cfg_file_early/late() to handle arch specific cfg file fields

Different architectures have some different configuration file
fields that need to be handled.  In particular, x86 has ucode
and ARM has device tree files to be loaded.  These arch specific
functions is used to allow each architecture to implement these
features in arch specific code.  Early/late versions are provided,
as ARM needs to process the DTB entry first, and x86 wants to process
the ucode entry last as it is the smallest allocation.

Signed-off-by: Roy Franz <roy.franz@linaro.org>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/efi/efi-boot.h
xen/common/efi/boot.c